Skip to content

fix(package): declare AGPL, CC BY-SA and third-party licences per file class - #21

Merged
juliusknorr merged 5 commits into
mainfrom
fix/package-notices
Oct 30, 2026
Merged

juliusknorr merged 5 commits into
mainfrom
fix/package-notices

Conversation

@juliusknorr

Copy link
Copy Markdown
Member

The Debian copyright file declared everything, including upstream's CC BY-SA images, fonts and dictionaries, as Euro-Office's AGPL work, and carried only a summary instead of the licence texts.

  • copyright.m4: SPDX ids and one stanza per file class: AGPL code (Ascensio System SIA and Euro-Office contributors), CC BY-SA 4.0 images, third-party fonts and dictionaries, and the recoloured Google Material Symbols icons (Apache-2.0). The full AGPL and CC texts are inlined at build time, based on upstream's packaging change.
  • Ship LICENSE-CC.txt and a NOTICE (same wording as the About dialog) in the documentserver root.
  • rpm: License: AGPL-3.0-only AND CC-BY-SA-4.0 AND Apache-2.0.
  • Windows: drop the logo retention clause from the community licence, and fix the recipe that never appended the extra third-party notices to 3rd-Party.txt.
  • Credit Google in the two _eo icons on the welcome page.

Verified locally by rendering debian/copyright. Packages are built in CI.

AI-assisted, see Assisted-by trailer.

…e class

Use SPDX ids and split the Debian copyright file into AGPL code, CC BY-SA images, third-party fonts and dictionaries, and the Google icons, with the full AGPL and CC texts inlined. Ship LICENSE-CC.txt and a NOTICE in the documentserver root.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Julius Knorr <jus@bitgrid.net>
Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Julius Knorr <jus@bitgrid.net>
Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Julius Knorr <jus@bitgrid.net>
…rty append

Name 3rd-Party.txt and license/ in the copyright file and NOTICE, add Apache-2.0 to the rpm licence, and rebuild the copyright file when a licence text changes. The Windows recipe redirected an empty command, so the extra third-party notices were never appended.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Julius Knorr <jus@bitgrid.net>

@rikled rikled left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few small things, none blocking:

  • NOTICE has hard-coded years while copyright.m4 uses M4_CURRENT_YEAR, so it'll be stale next year (and copyright currently renders "2026-2026").
  • rpm License: doesn't mention the font/dictionary licences. Maybe worth a follow-up for a full SPDX expression.

LGTM otherwise

copyright.m4 rendered 2026-2026 in 2026 and NOTICE hard-coded its years.
Generate NOTICE from NOTICE.m4 and print a single year when the
contributors range would be empty.

No-test: packaging template, checked by rendering with m4 for 2026 and 2027
Assisted-by: ClaudeCode:claude-sonnet-5-5
Signed-off-by: Julius Knorr <jus@bitgrid.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants